tests: Only install test-corruption if gjs is found
authorColin Walters <walters@verbum.org>
Tue, 21 Jan 2014 19:53:06 +0000 (19:53 +0000)
committerColin Walters <walters@verbum.org>
Tue, 21 Jan 2014 19:53:06 +0000 (19:53 +0000)
It now uses a gjs-based helper.

Makefile-tests.am

index 75d9d2c68375e3fe33fce4bebf3d333734a291d0..442b6035525d2c531f497a5157dbe9f60612c4ed 100644 (file)
@@ -26,7 +26,6 @@ testfiles = test-basic \
        test-archivez \
        test-remote-add \
         test-commit-sign \
-       test-corruption \
        test-libarchive \
        test-pull-archive-z \
        test-pull-corruption \
@@ -43,6 +42,11 @@ testfiles = test-basic \
        $(NULL)
 insttest_SCRIPTS = $(addprefix tests/,$(testfiles:=.sh))
 
+# This one uses corrupt-repo-ref.js
+if BUILDOPT_GJS
+testfiles += test-corruption
+endif
+
 testmetadir = $(datadir)/installed-tests/$(PACKAGE)
 testmeta_DATA = $(testfiles:=.test)